<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>客户信息添加页</title>
<script language="JavaScript">
	function clientAdd(){
		document.clientAddForm.action="clientservlet?method=clientadd";
		document.clientAddForm.submit();
	}
</script>
<%
String clientName = "";
String clientPhoneNumber = "";
String clientAddress = "";
String clientIdCardNumber = "";
String isPay = "1";
%>
</head>
<body>
	<form method="post" name="clientAddForm">
		<table>
			<tr>	
				<th>姓名</th>
				<td><input id="clientName" name="clientName" type="text" value="<%=clientName%>"></td>
			</tr>
			<tr>	
				<th>电话号码</th>
				<td><input id="clientPhoneNumber" name="clientPhoneNumber" type="text" value="<%=clientPhoneNumber%>"/></td>
			</tr>
			<tr>	
				<th>住址</th>
				<td><input id="clientAddress" name="clientAddress" type="text" value="<%=clientAddress%>"/></td>
			</tr>
			<tr>	
				<th>身份证号码</th>
				<td><input id="clientIdCardNumber" name="clientIdCardNumber" type="text" value="<%=clientIdCardNumber%>"/></td>
			</tr>
			<tr>	
				<th>是否缴费</th>
				<td><input id="isPay" name="isPay" type="checkbox" value="<%=isPay%>"/></td>
			</tr>
			<tr>
				<th><input id="clientAddSubmit" type="submit" onclick="clientAdd();" value="添加"/></th>
			</tr>
		</table>		
	</form>
</body>
</html>